<h2><%= _("Result for %{keyword}") % {:keyword => @keyword} %></h2>
<%= pagination_links_remote @pages, {:window_size => 2, :search_type => @search_type}, {:search_type => @search_type, :keyword => @keyword, :update => 'search_result', :complete => visual_effect(:blind_down, 'search_result'), :before   => %(Element.show('loading')), :success  => %(Element.hide('loading'))} %>
<div class="clear"></div>
<div id="result_list">
<% @items.each do |i| %>
  <%= render :partial => @search_type, :locals => {:i => i} %>
<% end %>
</div>
<div class="clear"></div>
<%= pagination_links_remote @pages, {:window_size => 2, :search_type => @search_type}, {:search_type => @search_type, :keyword => @keyword, :update => 'search_result', :complete => visual_effect(:blind_down, 'search_result'), :before   => %(Element.show('loading')), :success  => %(Element.hide('loading'))} %>
